﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class born1 : MonoBehaviour
{
    public GameObject enemy1;
    public float t;
    void Start()
    {
        Invoke("borntank", t);
    }
    public void borntank()
    {
        Instantiate(enemy1, transform.position, transform.rotation);
        gameObject.SetActive(false);
    }
}
